package com.ruoyi.security.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 保安值班对象 omp_security_duty
 *
 * @author cjie
 * @date 2022-04-27
 */
@Data
@ApiModel
public class SecurityDuty extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 编号 */
    @ApiModelProperty(value = "编号")
    private String id;

    /** 姓名 */
    @Excel(name = "姓名")
    @ApiModelProperty(value = "姓名")
    private String name;

    /** 岗位id */
    @Excel(name = "岗位id")
    @ApiModelProperty(value = "岗位id")
    private String postId;

    /** 岗位名称 */
    @Excel(name = "岗位名称")
    @ApiModelProperty(value = "岗位名称")
    private String postName;

    /** 班次 */
    @Excel(name = "班次")
    @ApiModelProperty(value = "班次")
    private String shift;

    /** 值班日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "值班日期", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "值班日期")
    private Date dutyDate;

    /** 字段1 */
    @Excel(name = "字段1")
    @ApiModelProperty(value = "字段1")
    private String field1;

    /** 字段2 */
    @Excel(name = "字段2")
    @ApiModelProperty(value = "字段2")
    private String field2;


}
